/*
 * Copyright (c) 2024 -present FengJinjian ( 751965763@qq.com )
 */
import { ViewModuleIcon } from 'tdesign-icons-vue-next';
import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/contract',
    name: 'contract',
    component: Layout,
    redirect: '/contract/list',
    meta: { title: '合同管理', icon: ViewModuleIcon },
    children: [
      {
        path: 'list',
        name: 'ContractList',
        component: () => import('@/pages/list/base/index.vue'),
        meta: { title: '合同列表' },
      },
      {
        path: 'create',
        name: 'ContractCreate',
        component: () => import('@/pages/form/base/index.vue'),
        meta: { title: '新建合同' },
      },
    ],
  },
];
